package com.jianggy.abstractfactory;

import com.jianggy.abstractfactory.abstractproduct.Button;
import com.jianggy.abstractfactory.modernproduct.ModernBackground;
import com.jianggy.abstractfactory.modernproduct.ModernButton;
import com.jianggy.abstractfactory.modernproduct.ModernCheckbox;
import com.jianggy.abstractfactory.modernproduct.ModernTextview;
import com.jianggy.abstractfactory.abstractproduct.Background;
import com.jianggy.abstractfactory.abstractproduct.Checkbox;
import com.jianggy.abstractfactory.abstractproduct.TextView;

/**
 * @author jianggy
 * @time 2018年9月10日 下午11:03:23
 * @description
 */
public class ModernFactory implements TopicFactory {
	public Button createButton() {
		return new ModernButton();
	}

	public TextView createTextView() {
		return new ModernTextview();
	}

	public Background createBackgroud() {
		return new ModernBackground();
	}

	public Checkbox createCheckbox() {
		return new ModernCheckbox();
	}
}
